<?php 
      include('inc/includes.php'); 
      @$title = $title != '' ? $title : '';
      @$dtfinal = $dtfinal != '' ? $dtfinal : '';
      @$descricao = $descricao != '' ? $descricao : '';
?>
<meta charset="utf-8">
    <div style="width:800px" id='reservaForm'>
        <h3><?=date('d/m/Y', strtotime($this->uri->segment(4)))?></h3><br><br>
        <input type="hidden" id="base_url" value="<?=base_url()?>" />
        <form method="POST" action="<?=base_url()?>reserva/form" />
        <input type="hidden" name="dtclicada" value="<?=$this->uri->segment(4)?>" />
        <!--
        <div class="input-group">
            <span class="input-group-addon">Título da Reserva</span>
            <input type="text" name="title" style="width:272px" class="form-control" placeholder="" value="<?=$title?>">
        </div>--><!--
        <br>
        <div class="input-group">
            <span class="input-group-addon">Data final da reserva</span>
            <input type="text" name="dtfinal" id="datepicker" style="width:200px" class="form-control" value="<?=$dtfinal?>">
        </div>-->
        <?php //if($this->session->userdata('perfil')!='administrador'){?>
       <!-- <div class="input-group">
            <span class="input-group-addon">Quantidade de parcelas para pagamento?</span>
            <select name = "pagamento" style="width:117px" class="form-control">
                <option value="1">Única</option>
                <option value="2">Duas</option>
                <option value="3">Três</option>
            </select>       
        </div>-->
        <? //}?>
        <div class="input-group">
            <span class="input-group-addon">Descrição da Reserva</span>
            <input type="text" name="descricao" style="width:246px" class="form-control" placeholder="" value="<?=$descricao?>">
        </div>
        <br>        
            <input id="formAdd" name="add" type="submit" value="Confirma" class="btn btn-primary" role="button">
            <input id="formCancela" name="cancela" type="submit" value="Cancela" class="btn btn-primary" role="button">
        </form>
    </div>